package com.jin.jpa.wrapper.support;

import com.jin.jpa.wrapper.expression.WhereOpExpression;

import java.util.List;

/**
 * @Author: yuanxiuyao
 * @Date: 2024/1/4 15:13
 * @Version 1.0
 */
public interface IWrapper<T> extends ISelectWrapper<T, IWrapper<T>>, IWhereWrapper<T, WhereOpExpression<T>>, IOtherWrapper<T, IWrapper<T>> {

    Class<T> getInstanceClass();

    <R> R fetchOne();

    <R> List<R> fetchList();

    T one();
    List<T> list();

}
